#include "stdio.h"

int main() {
	int i;
	int j;
	int k;
	for (i = 1; i <= 4; i++) {
		for (k = 1 ; k <= 4 - i; k++) {
			printf(" ");
		}
		for (j = 1; j <= 2 * i - 1; j++)
			printf("*");

		printf("\n");
	}
}